<script>
    (function () {
        var page = "pc.html";
        if (navigator.userAgent.match(/(iPhone|iPod|Android|ios|Mobile|ARM)/i)) {
            page = "m.html";
        }
        window.location.href = page;
    })();
</script>